sqpconsole is a C application that shows how the C interface to SIMCA QuickPred works
